#include "mainwindow.h"

#include <QApplication>
#include<QFile>
#include <QtAV>
#include <QtAVWidgets>
#include<QtAV/AVPlayer.h>
#include<QPdfWriter>
using namespace QtAV;
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    WidgetRenderer renderer;
    renderer.show();
    Widgets::registerRenderers();
    AVPlayer player;
    player.setRenderer(&renderer);
    player.play("/Users/yangsen/Desktop/videoplayback.mp4");
    return a.exec();



}
